package com.lxb.lxbconsumertest.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "user-service")
public interface UserServiceClient {
    @GetMapping("/echo/{name}")
    String echo(@PathVariable String name);
}
